@import '~styles/colors.less';

.root {
  position: relative;
  padding-left: 18px;

  &:hover {
    .remove {
      visibility: visible;
    }
  }

  @height: 58px;
  &:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 4px;
    width: 1px;
    height: 100%;
    background-color: @chromeTextSubColor;
  }

  &:last-child {
    &:before {
      height: @height;
    }
  }

  &:after {
    content: ' ';
    position: absolute;
    top: @height;
    left: 4px;
    width: 5px;
    height: 5px;
    border-left: 1px solid @chromeTextSubColor;
    border-bottom: 1px solid @chromeTextSubColor;
    border-radius: 0 0 0 6px;
  }
}

.info {
  margin-bottom: 9px;
  padding-top: 20px;
  padding-left: 6px;
  padding-right: 2px;

  :global {
    span, i {
      display: inline-block;
      vertical-align: top;
      font-size: 10px;
      line-height: 14px;
      color: @chromeTextColor;
    }
    i {
      font-size: 8px;
      padding-right: 3px;
    }
  }
}

.remove {
  float: right;
  cursor: pointer;
  visibility: hidden;

  &:hover {
    span, i {
      color: @alert;
    }
  }
}
